<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    *{
      margin: 0;
      padding: 0;
    }
    .box{
      width: 100%;
      background-color: #fff;
      height: 51px;
      background-color: #202329;
    }
    .center{
      width: 1002px;
      margin: 0 auto;
      height: 51px;
      border: 1px solid red;
    }
    a{
      text-decoration: none;
    }
    .right{
      width: 200px;
      height: 51px;
      /* background-color: #fff; */
      float: right;
    }
    #d1{
      width: 112px;
      height: 51px;
      line-height: 51px;
      border:1px solid #5dd5c8;
      text-align: center;
      border-radius: 15px;
      padding: 4px 11px 5px 11px;
      color: #fff;
      font-size: 13px;
      
    }
  </style>
</head>
<body>
  <div class="box">
    <div class="center">
      <div class="right">
        <a href="#" id="d1">注册</a>
      </div>
    </div>
  </div>
</body>
</html>